package com.steven.nio;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;


public class MySocketNIO {
	public static void server() {
		try {
			ServerSocket serverSocket = new ServerSocket(8888);
			Socket socket = serverSocket.accept();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
}
